package com.tlkj.common.curd.example.service.impl;

import com.tlkj.common.curd.example.entity.TenantInfo;
import com.tlkj.common.curd.example.mapper.TenantInfoMapper;
import com.tlkj.common.curd.example.service.TenantInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author flyong86
 */
@Service
public class TenantInfoServiceImpl implements TenantInfoService {

    @Autowired
    private TenantInfoMapper tenantInfoMapper;

    @Override
    public TenantInfo findById(Long id) {
        return tenantInfoMapper.selectById(id);
    }
}
